<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>比赛详情</title>
    <link rel="stylesheet" href="style.css">
    <style>
            body {
            /* 设置背景图片 */
            background-image: url('https://images.unsplash.com/photo-1517315003714-a071486bd9ea?q=80&w=1771&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
            background-size: cover; /* 让背景图覆盖整个屏幕 */
            background-repeat: no-repeat; /* 不重复背景图 */
            color: rgb(22, 21, 21); /* 设置文字颜色为黑色，以便于在图片上可读 */
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>比赛详情</h1>
        <div id="match-details">
            <!-- 比赛信息将动态填充 -->
        </div>
        <div id="teams">
            <div class="team" id="teamA">
                <div id="teamA-info">
                    <!-- 队伍A的信息将动态填充 -->
                </div>
                <h3>下注选项</h3>
                <input type="number" id="betAmountA" placeholder="输入下注金额">  
                <button onclick="placeBet('A', document.getElementById('betAmount').value)">猜他会赢</button>
            </div>

            <div class="team" id="teamB">
                <div id="teamB-info">
                    <!-- 队伍B的信息将动态填充 -->
                </div>
                <h3>下注选项</h3>
                <input type="number" id="betAmountB" placeholder="输入下注金额">  
                <button onclick="placeBet('B', document.getElementById('betAmount').value)">猜他会赢</button>
            </div>
        </div>
    </div>

    <script src="matchDetail.js"></script>
    <script src="./js/common.js"></script>
</body>
</html>
